package com.lnsf.model;

public class Finance {

	private int fId;
	private int gId;
	private int shId;
	private float totalPrice;

	public int getfId() {
		return fId;
	}

	public void setfId(int fId) {
		this.fId = fId;
	}

	public int getgId() {
		return gId;
	}

	public void setgId(int gId) {
		this.gId = gId;
	}

	public int getShId() {
		return shId;
	}

	public void setShId(int shId) {
		this.shId = shId;
	}

	public float getTotalPrice() {
		return totalPrice;
	}

	public void setTotalPrice(float totalPrice) {
		this.totalPrice = totalPrice;
	}

	public Finance(int fId, int gId, int shId, float totalPrice) {
		super();
		this.fId = fId;
		this.gId = gId;
		this.shId = shId;
		this.totalPrice = totalPrice;
	}

	@Override
	public String toString() {
		return  fId+"\t\t" +gId+"\t\t" +  shId+"\t\t" +  totalPrice;
	}

}
